home *** CD-ROM | disk | FTP | other *** search
/ Voyager Presents CD-ROM's That Matter / Voyager Presents CD-ROM's That Matter.iso / pc / demos / minsky / minsky.dir / 00051_MOVIE SCRIPT.ls < prev    next >
Encoding:
Text File  |  1994-10-19  |  563 b   |  41 lines

  1. on startMovie
  2.   cursor(200)
  3.   set the volume of sound 1 to 210
  4.   set the volume of sound 2 to 210
  5. end
  6.  
  7. on enterFrame
  8.   cursor(200)
  9. end
  10.  
  11. on waitQT chan
  12.   if the movieRate of sprite chan = 1 then
  13.     go(the frame)
  14.   end if
  15. end
  16.  
  17. on waitSound chan
  18.   if soundBusy(chan) then
  19.     go(the frame)
  20.   end if
  21. end
  22.  
  23. on waiting theTicks
  24.   if theTicks >= the timer then
  25.     go(the frame)
  26.   end if
  27. end
  28.  
  29. on goMovie chan
  30.   set the movieRate of sprite chan to 1
  31. end
  32.  
  33. on keyDown
  34.   global autoPlaying
  35.   set autoPlaying to 0
  36.   sound stop 1
  37.   sound stop 2
  38.   unLoadCast()
  39.   play done
  40. end
  41.